<template>
  <div class="common-page">
    <el-tabs v-model="activeName">
      <el-tab-pane label="历史项目" name="ProjectLog" />
      <el-tab-pane label="历史工程" name="EngineeringLog" />
    </el-tabs>
    <div class="f-g">
      <component :is="activeName" />
    </div>
  </div>
</template>

<script>
import ProjectLog from './project-log'
import EngineeringLog from './engineering-log'
export default {
  name: 'Index',
  components: {
    ProjectLog,
    EngineeringLog
  },
  data() {
    return {
      activeName: 'ProjectLog'
    }
  },
  methods: {}
}
</script>

<style scoped lang="scss">
</style>
